import { createApp } from 'vue';
import App from './App.vue';
import { registerMicroApps,start } from 'qiankun';

const mainApp = createApp(App);

mainApp.mount('#app');

registerMicroApps([  
  {  
    name: 'micro-app-1', // app name registered  
    entry: '//172.19.248.52:8080', // html url  
    container: '#micro-app-1', // container id  
    activeRule: '/micro-app-1', // when browser url matches this rule, the app will be active  
  },    
]);

start();